

import 'package:json_annotation/json_annotation.dart';

part 'salesman_report.g.dart';

@JsonSerializable()
class SalesmanReport {
  String? title;
  int? onClueNum;
  int? offClueNum;
  int? marketingActivityNum;
  int? clueNum;
  int? scheduleNum;
  int? scheduleRate;
  int? scheduleInShopNum;
  int? scheduleInShopRate;
  int? testDriveNum;
  int? testDriveRate;
  int? lostNum;
  int? firstLostNum;

  SalesmanReport({
    this.title,
    this.onClueNum,
    this.offClueNum,
    this.marketingActivityNum,
    this.clueNum,
    this.scheduleNum,
    this.scheduleRate,
    this.scheduleInShopNum,
    this.scheduleInShopRate,
    this.testDriveNum,
    this.testDriveRate,
    this.lostNum,
    this.firstLostNum,
  });


  factory SalesmanReport.fromJson(Map<String, dynamic> json) => _$SalesmanReportFromJson(json);

  Map<String,dynamic> toJson() => _$SalesmanReportToJson(this);
}